/*
 * StreamOperationSlot.h
 *
 *  Created on: 2011-3-31
 *      Author: hao
 */

#ifndef STREAMOPERATIONSLOT_H_
#define STREAMOPERATIONSLOT_H_
#include "StreamOperationCore.h"
#include <string>
#include <vector>
#include "StreamEnd.h"

using std::vector;

class StreamOperationSlot {
    vector< StreamOperationPlugin * > vOperationList;

public:

    StreamOperationSlot(){
    }

    void StreamRunning( void * pData, size_t length , unsigned bit_pre_sample, unsigned channels, unsigned rate );

    void addOperationPlugin(StreamOperationPlugin * pPlugin);

    void delOperationPlugin(StreamOperationPlugin * pPlugin);
    ~StreamOperationSlot();
};

#endif /* STREAMOPERATIONSLOT_H_ */
